<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<%--
  Created by IntelliJ IDEA.
  User: Ahuanlien
  Date: 2018/6/8
  Time: 12:15
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>销售报表</title>
    <%@include file="/static/common/commom.jsp" %>
    <script src="/static/plugins/eCharts/echarts-all.js"></script>
    <script type="text/javascript" src="/static/plugins/artDialog/jquery.artDialog.js?skin=default"></script>
    <script type="text/javascript" src="/static/plugins/artDialog/plugins/iframeTools.js"></script>
    <script src="/static/js/salesreport.js"></script>

</head>
<body>

<%--数据表格--%>
<table id="sales_dataGrid"></table>

<div id="tb">
    <form id="salesForm">
        <%--高级查询 保险机构 险种--%>
        保险机构:<input name="companyId" class="easyui-combobox selectState" style="width:120px;"
                    data-options="panelHeight:'auto',textField:'name',valueField:'id',url:'/company/selectAll.do'"/>

        险种:<input name="productId" class="easyui-combobox selectState" style="width:120px;"
                  data-options="panelHeight:'auto',textField:'name',valueField:'id',url:'/product/selectAll.do'"/>

        保单日期:<input class="easyui-datebox" name="beginTime" style="width:120px;"> -
        <input class="easyui-datebox" name="endTime" style="width:120px;">

        分组:
        <select id="groupType" class="easyui-combobox" data-options="panelHeight:'auto',width:118" name="groupType">
            <option value="employee.realname">业务人员</option>
            <option value="company.name">保险机构</option>
            <option value="DATE_FORMAT(record.pDate,'%y-%m')">销售日期(月)</option>
            <option value="DATE_FORMAT(record.pDate,'%y-%m-%d')">销售日期(日)</option>
        </select>

        <%--查询 刷新 柱状图 饼状图 按钮--%>
        <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-search',plain:true" data-cmd="search">查询</a>
        <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" data-cmd="reload">刷新</a>
        <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-bar',plain:true" data-cmd="bar">柱状图</a>
        <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-pie',plain:true" data-cmd="pie">饼状图</a>

    </form>
</div>

</body>
</html>

